<div id="contentBk">
    <div id="content" class="clearfix">

        <div id="homeSlider" class="clearfix flexslider">

            <div class="thumbs"></div>

            <ul class="slides">
                <?php 
                    foreach($this->imgSlide as $key => $val){
						$imgLarge = $val['imglarge'];
						$imgSmall = $val['imgsmall'];
                ?>
                	<li data-thumb = <?php echo $this->imgUrl . '/slider/' . $imgSmall;?>><img src = <?php echo $this->imgUrl . '/slider/' . $imgLarge;?> alt="AClassroom" /></li>
				<?php }?>
            </ul>

            <ul class="captions">
                <?php 
                    foreach($this->imgSlide as $keys => $vals){
						$title = $vals['title'];
						$content = $vals['content'];
                ?>
                   <li>
                     <h3><?php echo $title;?></strong></h3>
                     <p><?php echo $content;?></p>
                   </li>
                <?php }?>
            </ul>

        </div>

        <div class="wrapper">

            <div class="welcome column c-67 clearfix">

                <h3><?php echo $this->translate('Welcome to Australian');?></h3>
                <div class="cContent clearfix">
                    <img src = <?php echo $this->imgUrl . "/other/welcome.jpg"; ?> alt="">
                    <div>
                        <p style="text-align: justify;">Our company is the most professional, prestigious educational agent in Vietnam. 
                                Over 7 years of operation, we have sent thousands of Vietnamese 
                                students to schools in many countries such as:
                                Australian Overseas Study is the top prestigious trade name in the field of overseas study service nowadays. With long history...<a href="<?php echo $this->baseUrl('/' . $this->lang . '/about/');?>" style="font-style:italic;"><?php echo $this->translate('read_more');?></a></p>
                    </div>
                </div>
            </div>

            <div class="searchCourse searchCourseHome column c-33 clearfix">
                <p><?php echo $this->translate('search_info') ?></p>
                <?php echo $this->render('rightmenu/searchinfo.php'); ?>
            </div>

            <div class="clear"></div>

            <div class="tour column c-33 clearfix">
                <?php echo $this->render('rightmenu/videos.php');?> 
            </div>
            <div class="news column c-33 clearfix">
                <h3><?php echo $this->translate('company_daily_news') ?></h3>
                <div class="arrows"></div>
                <div class="cContent clearfix rotator">
                    <ul class="slides">
                        <?php 
								$tblNews = $this->tblNews;									
								for($i=0; $i<count($tblNews); $i++){
									$newsid = $tblNews[$i]['newsid'];
									$linkNews = $this->baseUrl('/'.$this->lang.'/news/index/cid/' . $newsid);
								if($i % 2 == 0){
                            ?>
                                <li>
                            <?php }?>
                                    <div class="post">
                                        <img src = <?php echo $this->imgUrl . '/other/' . $tblNews[$i]['image'];?> alt="" width="84" height="55">
                                        <div class="info">
                                            <a href="<?php echo $linkNews;?>"><h5><?php echo $tblNews[$i]['title'];?></h5></a>
                                            <span><?php echo 'Posted on ' . $tblNews[$i]['date'];?></span>
                                        </div>
                                    </div>
                            <?php if($i % 2 == 0 AND $i<0){ ?>
                                </li>
                            <?php }?>
                            <?php }?>
                    </ul>
                </div>
            </div>

            <div class="links column c-33 clearfix">
                <h3><?php echo $this->translate('faq') ?></h3>
                <ul class="cContent clearfix">
                    <?php echo $this->render('rightmenu/faq.php'); ?>
                </ul>
            </div>

            <div class="clear"></div>

            <div class="event column c-67 clearfix">
                <h3><?php echo $this->translate('Australian Events') ?></h3>
                <div class="arrows"></div>
                <div class="cContent clearfix rotator">
                    <ul class="slides">
                        <?php if (count($this->lstEvents) > 0) { 
                            foreach ($this->lstEvents as $value) {
                            ?>
                            <li>
                                <a href="<?php echo PUBLIC_IMG_URL . "/events/" . $value['imglarge']; ?>" rel="lightbox[events]" class="grayColor" >
                                    <img data-color="<?php echo PUBLIC_IMG_URL . "/events/" . $value['imgsmall']; ?>" 
                                         src="<?php echo PUBLIC_IMG_URL . "/events/" . $value['image']; ?>"alt="" class="imgBorder">
                                </a>
                            </li>
                        <?php
                            }
                        } ?>
                    </ul>
                </div>
            </div>

            <div class="featured column c-33 clearfix">
                <h3><?php echo $this->translate('featured_professor') ?></h3>
                <div class="cContent">
                    <img class="imgBorder" src = <?php echo $this->imgUrl . "/professors/1st.jpg"; ?> alt="">
                    <div>
                        <h5>Jason Wills</h5>
                        <p>Lorem ipsum dolorpsu eiusmod tempor... </p>
                        <a href="#" class="readmorelink"><?php echo $this->translate('read_more') ?></a>
                    </div>
                </div>
            </div>
            <div class="clear"></div>
        </div>
    </div>
</div>